<template>
	<view class='null text-center u-p-b-50'>
	<view  >
		<image src="https://shyvv-1308916267.cos.ap-chengdu.myqcloud.com/mall/7611656327791814.png" mode="aspectFill"></image>
		<view class="u-font-30 text-center u-m-t-30">{{text}}</view>
	</view>
	</view>
</template>

<script>
	export default {
		name: 'empty',
		props: {
			top: {
				type: String,
				default: '370'
			},
			text: {
				type: String,
				default: '暂无数据'
			},
			width: {
				type: String,
				default: '400'
			},
			height: {
				type: String,
				default: '310'
			}
		},
		data(){
			return{
				lineHige:0
			}
		},
		onReady() {
			uni.getSystemInfo({
				success: (res) => {
					this.lineHige = res.windowHeight 
					console.log(res.windowHeight );
				}
			})
		}

	}
</script>

<style scoped lang='scss'>
	.null {
		height: 100%;
		text-align: center;
		padding-top: 200rpx;
		image {
			width: 200rpx;
			height: 200rpx;
		}
		.u-font-30 {
			font-weight: 700;
			color: gray;
		}
	}
</style>
